* {
  margin: 0;
  padding: 0;
}

h3,
h4 {
  font-weight: normal;
}

/* body给背景图片，让图片占满整个body区 */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.15;
  font-size: 0.5rem;
  background: url(./images/bg.jpg) no-repeat 0 0 / cover;
  /* background-size: cover; */
}

/* 最大的盒子，给最小高度，目的是把高度撑大一些。logo背景图，要完整的显示出来 */
.viewport {
  min-width: 1500px;
  max-width: 1920px;
  min-height: 900px;
  background: url('./images/logo.png') no-repeat;
  background-size: contain;
  display: flex;
  padding: 3.667rem 0.833rem 0;
}

/* 左中右三列 */
.column {
  flex: 3;
  /* background-color: blueviolet; */
}

.column:nth-child(2) {
  flex: 4;
  margin: 1.333rem 0.833rem 0;
  /* background-color: chocolate; */
}


/* 公共的边框样式 */
.panel {
  box-sizing: border-box;
  border: solid 2px red;
  border-image: url(./images/border.png) 51 38 20 132;
  border-image-width: 2.125rem 1.583rem 0.833rem 5.5rem;
  border-width: 2.125rem 1.583rem 0.833rem 5.5rem;
  position: relative;
  margin-bottom: 0.833rem;
}

.panel .inner {
  position: absolute;
  top: -2.125rem;
  right: -1.583rem;
  bottom: -0.833rem;
  left: -5.5rem;
  padding: 1rem 1.5rem;
}

.panel h3 {
  color: #fff;
}


/* 概览区域 */
.overview {
  height: 5.783rem;
}

.overview h4 {
  font-size: 1.167rem;
  color: #ac4c1e;
  font-weight: normal;
}

.overview span {
  font-size: 0.667rem;
  color: #4c9bfd;
}


/* 监控区域 */
.monitor {
  height: 20.5rem;
}

.monitor .inner {
  height: 100%;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inner h3 {
  margin: 0 0 0 1.5rem;
  font-size: 1rem;
}

.monitor .tabs {
  padding: 0 1.5rem;
  margin-bottom: 0.833rem;
}

.monitor .tabs a {
  color: #1950c4;
  padding: 0 1.125rem;
  font-size: 0.75rem;
  text-decoration: none;
}

.monitor .tabs a:nth-child(1) {
  padding-left: 0;
  border-right: 0.083rem #00f2f1 solid;
}

.monitor .tabs .active {
  color: #fff;
}

.monitor .content {
  /* 默认让两个内容区都隐藏。实际没有都隐藏，看看行内样式就知道了 */
  display: none;
  flex: 1;
}

.monitor .head {
  line-height: 1.05;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.5rem;
  color: #68d8fe;
  font-size: 0.583rem;
  display: flex;
  justify-content: space-between;
}

.monitor .col {
  width: 3.2rem;
}

.monitor .col:nth-child(2) {
  width: 8.4rem;
  /* 一行不换行 */
  white-space: nowrap;
  overflow: hidden;
  /* 超出的部分用省略号 */
  text-overflow: ellipsis;
}

.monitor .row {
  color: #61a8ff;
  font-size: 0.5rem;
  line-height: 1.05;
  padding: 0.5rem 1.5rem;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.monitor .icon-dot {
  position: absolute;
  left: 0.64rem;
  opacity: 0;
}

.monitor .row:hover {
  color: #68d8ff;
  background-color: rgba(255, 255, 255, 0.1);
}

.monitor .row:hover .icon-dot {
  opacity: 1;
}

/* 左中 - 监控区域 动画 及其 相关样式 */
@keyframes toTop {
  0% {}

  100% {
    transform: translateY(-50%);
  }
}

.monitor .marquee {
  animation: toTop 10s linear infinite;
}

.monitor .marquee:hover {
  /* animation 动画    play 播放   state 状态   paused 暂停 */
  animation-play-state: paused;
}

.monitor .marquee-view {
  overflow: hidden;
}


/* 点位 */
.point {
  height: 19.167rem;
}

.point .inner {
  height: 100%;
}

.point .chart {
  margin-top: 0.5rem;
}

.point .pie {
  width: 100%;
  height: 10rem;
  margin-left: -0.4rem;
}

.point .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7rem;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  background-image: url(./images/rect.png);
  background-size: cover;
}

.point h4 {
  margin-bottom: 0.5rem;
  font-size: 1.167rem;
  color: #fff;
}

.point span {
  display: block;
  color: #4c9bfd;
  font-size: 0.667rem;
}

/* 地图  */
.map {
  height: 30.1rem;
  margin-bottom: 2.833rem;
  flex-direction: column;
}

.map h3 {
  line-height: 1;
  padding: 0.667rem 0;
  margin: 0;
  font-size: 0.833rem;
  color: #fff;
}

.map .icon-cube {
  color: #68d8fe;
}

.map .chart {
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
}

.anchorBL {
  display: none;
}

.map .geo {
  width: 100%;
  height: 100%;
}

/* 用户模块 */
.users {
  height: 17.167rem;
}

.users .chart {
  height: 100%;
  margin-top: 0.5rem;
  background-color: transparent;
}

.users .bar {
  width: 100%;
  height: 10rem;
}

.users .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7rem;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  background-image: url(./images/rect.png);
  background-size: cover;
}

.users h4 {
  margin-bottom: 0.5rem;
  font-size: 1.167rem;
  color: #fff;
}

.users span {
  display: block;
  color: #4c9bfd;
  font-size: 0.667rem;
}

/* 订单 */
.order {
  height: 14.167rem;
}


.order .data {
  width: 100%;
  height: 100%;
}

.order h4 {
  font-size: 1.167rem;
  color: #fff;
  margin-bottom: 0.417rem;
}

/* 销售区域 */
.sales {
  height: 10.333rem;
}

.sales .caption {
  display: flex;
  line-height: 1;
}

.sales h3 {
  height: 0.75rem;
  padding-right: 0.75rem;
  border-right: 0.083rem solid #00f2f1;
}

.sales a {
  padding: 0.167rem;
  font-size: 0.667rem;
  margin: -0.125rem 0 0 0.875rem;
  border-radius: 0.125rem;
  color: #0bace6;
}

.sales a.active {
  background-color: #4c9bfd;
  color: #fff;
}

.sales .inner {
  display: flex;
  flex-direction: column;
}

.sales .chart {
  flex: 1;
  padding-top: 0.6rem;
  position: relative;
}

.sales .label {
  position: absolute;
  left: 1.75rem;
  top: 0.75rem;
  color: #4996f5;
  font-size: 0.583rem;
}

.sales .line {
  width: 100%;
  height: 100%;
}

/* 渠道区块 */
.wrap {
  display: flex;
}

.channel,
.quarter {
  flex: 1;
  height: 9.797rem;
}

.channel {
  margin-right: 0.833rem;
}

.channel .data {
  overflow: hidden;
}

.channel .item {
  margin-top: 0.85rem;
  padding-left: 2rem;
}

.channel h4 {
  color: #fff;
  font-size: 1.333rem;
  margin-bottom: 0.2rem;
}

.channel small {
  font-size: 50%;
}

.channel span i {
  display: block;
  color: #1296db;
  font-size: 2.583rem;
  margin-bottom: 0.5rem;
}

/* 季度区块 */
.quarter .inner {
  display: flex;
  flex-direction: column;
  margin: 0 -0.25rem;
}

.quarter .chart {
  flex: 1;
  margin-top: 0.5rem;
}

.quarter .box {
  position: relative;
}

.quarter .label {
  transform: translate(-50%, -30%);
  color: #fff;
  font-size: 1.25rem;
  position: absolute;
  left: 50%;
  top: 50%;
}

.quarter .label small {
  font-size: 50%;
}

.quarter .gauge {
  height: 3.5rem;
}

.quarter .data {
  display: flex;
  justify-content: space-between;
}

.quarter .item {
  width: 50%;
  padding-left: 1rem;
}

.quarter h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.quarter span {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4c9bfd;
  font-size: 0.583rem;
}

/* 排行榜 */
.top {
  height: 18.167rem;
}

.all {
  width: 100%;
  height: 100%;
  color: #4c9bfd;
  font-size: 0.6rem;
  vertical-align: middle;
}

.clock {
  position: absolute;
  top: -1.5rem;
  right: 1.667rem;
  font-size: 0.833rem;
  color: #0bace6;
}

.clock i {
  margin-right: 5px;
  font-size: 0.833rem;
}

.guzhi {
  height: 7rem;
}
.guzhi h4 {
  color: #fff;
}

@media screen and (max-width: 1600px) {
  .top span {
    transform: scale(0.9);
  }

  .top .province ul.sup li {
    padding: 0.4rem 0.5rem;
  }

  .top .province ul.sub li {
    padding: 0.23rem 0.5rem;
  }

  .quarter span {
    transform: scale(0.9);
  }

  .all {
    width: 100%;
    height: 100%;
  }
}